package com.malty.mall.service.ums;

import com.baomidou.mybatisplus.extension.service.IService;
import com.malty.mall.domain.entity.ums.UmsRoleResourceRelation;

/**
 * @author malty
 */
public interface IUmsRoleResourceService extends IService<UmsRoleResourceRelation> {

    /**
     * 角色资源关联
     *
     * @param roleId     角色id
     * @param resourceId 资源id
     * @return 操作结果
     */
    Boolean createOrUpdateRelation(Integer roleId, Integer resourceId);


}
